<!DOCTYPE html>
<html>

<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <title>农村集体三资管理</title>
  <link rel="stylesheet" href="./layui/css/layui.css">
</head>

<body>
  <div class="layui-layout layui-layout-admin">
    <div class="layui-header">
      <div class="layui-logo layui-hide-xs">
        <p class="layui-font-blue"><i class="layui-icon layui-icon-release"></i>&nbsp;Town市信息网台</p>
      </div>
      <!-- 头部区域（可配合layui 已有的水平导航） -->
      <ul class="layui-nav layui-layout-left">
        <!-- 移动端显示 -->
        <li class="layui-nav-item layui-show-xs-inline-block layui-hide-sm" lay-header-event="menuLeft">
          <i class="layui-icon layui-icon-spread-left"></i>
        </li>
        <li class="layui-nav-item">
          <a class="layui-font-16" href="index.html">首页</a>
        </li>
        <li class="layui-nav-item">
          <a class="layui-font-16" href="javascript:;">资金管理</a>
        </li>
        <li class="layui-nav-item">
          <a class="layui-font-16" href="javascript:;">资源管理</a>
        </li>
        <li class="layui-nav-item">
          <a class="layui-font-16" href="javascript:;">资产管理</a>
        </li>
        <li class="layui-nav-item">
          <a class="layui-font-16" href="javascript:;">工程项目管理</a>
        </li>
        <li class="layui-nav-item">
          <a class="layui-font-16" href="javascript:;">收入支出管理</a>
        </li>
      </ul>
      <ul class="layui-nav layui-layout-right">
        <li class="layui-nav-item" lay-unselect="">
          <a href="index.html" layadmin-event="refresh" title="刷新">
            <i class="layui-icon layui-icon-refresh">&nbsp;刷新</i>
          </a>
        </li>
        <li class="layui-nav-item" lay-unselect="">
          <a href="javascript:;" layadmin-event="refresh" title="消息">
            <i class="layui-icon layui-icon-notice">&nbsp;消息</i>
            <span class="layui-badge-dot"></span>
          </a>
        </li>

        <li class="layui-nav-item layui-hide layui-show-md-inline-block">
          <a href="javascript:;">
            <img src="//tva1.sinaimg.cn/crop.0.0.118.118.180/5db11ff4gw1e77d3nqrv8j203b03cweg.jpg"
              class="layui-nav-img">
            tester
          </a>

          <dl class="layui-nav-child">
            <dd><a href="" class="layui-font-16"><i class="layui-icon">&#xe66f;</i>&nbsp;个人信息</a></dd>
            <dd><a href="" class="layui-font-16"><i class="layui-icon">&#xe673;</i>&nbsp;修改密码</a></dd>
            <dd><a href="" class="layui-font-16"><i class="layui-icon">&#xe682;</i>&nbsp;账号退出</a></dd>
          </dl>
        </li>
        <li class="layui-nav-item" lay-header-event="menuRight">
          <a href="javascript:;">
            <i class="layui-icon layui-icon-more-vertical"></i>
          </a>
        </li>
      </ul>
    </div>

    <div class="layui-side layui-bg-black">
      <div class="layui-side-scroll">
        <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
        <ul class="layui-nav layui-nav-tree" lay-filter="test">
          <li class="layui-nav-item"></li>
          <li class="layui-nav-item">
            <a class="layui-font-18" href="index.html"><i
                class="layui-icon">&#xe756;</i>&nbsp;&nbsp;&nbsp;&nbsp;热点聚集</a>
          </li>
          <li class="layui-nav-item">
            <a class="layui-font-18" href="javascript:;"><i
                class="layui-icon">&#xe63c;</i>&nbsp;&nbsp;&nbsp;&nbsp;通知公告</a>
          </li>

        </ul>
      </div>
    </div>

    <div class="layui-body" style="width:600px;">
      <!-- 内容主体区域 -->
      <fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
        <legend>项目创建</legend>
      </fieldset>
      <from>
        <div class="layui-form-item">
          <label class="layui-form-label">项目名称</label>
          <div class="layui-input-block">
            <input type="text" name="username" lay-verify="required" lay-reqtext="项目名称为必填项" placeholder="请输入项目名称"
              autocomplete="off" class="layui-input">
          </div>
        </div>
        <div class="layui-form-item">
          <label class="layui-form-label">项目负责人</label>
          <div class="layui-input-block">
            <input type="text" name="username" lay-verify="required" lay-reqtext="项目负责人为必填项" placeholder="请输入项目负责人"
              autocomplete="off" class="layui-input">
          </div>
        </div>

        <div class="layui-form-item">
          <label class="layui-form-label">立项时间</label>
          <div class="layui-input-block">
            <input type="date" name="datetime" required lay-verify="required" class="layui-input" />
          </div>
        </div>

        <div class="layui-form-item">
          <div class="layui-inline">
            <label class="layui-form-label">经费预算</label>
            <div class="layui-input-inline" style="width: 100px;">
              <input type="text" name="price_min" placeholder="￥" autocomplete="off" class="layui-input">
            </div>
            <div class="layui-form-mid">-</div>
            <div class="layui-input-inline" style="width: 100px;">
              <input type="text" name="price_max" placeholder="￥" autocomplete="off" class="layui-input">
            </div>
          </div>
        </div>

        <div class="layui-form-item">
          <div class="layui-input-block">
            <button type="submit" class="layui-btn" lay-submit="" lay-filter="demo1">立即提交</button>
            <button type="reset" class="layui-btn layui-btn-primary">重置</button>
          </div>
        </div>
      </from>
    </div>
    <div class="layui-footer" style="text-align: center">
      <!-- 底部固定区域 -->
      主办单位：未命名开发小组&emsp;&emsp;&emsp;&emsp;地址：电子科技大学清水河校区&emsp;&emsp;&emsp;&emsp;运营电话：123456789&emsp;&emsp;&emsp;&emsp;邮箱：123456789@qq.com
    </div>
  </div>
  <script src="layui/layui.js"></script>

  <script>
    //JS
    layui.use(['element', 'layer', 'util'], function () {
      var element = layui.element
        , layer = layui.layer
        , util = layui.util
        , $ = layui.$;
      var rand = Math.round(Math.random() * 5 + 1);
      //头部事件
      util.event('lay-header-event', {
        //左侧菜单事件
        menuLeft: function (othis) {
          layer.msg('展开左侧菜单的操作', { icon: 0 });
        }
        , menuRight: function () {
          layer.open({
            type: 1
            , btn: ['确定']
            , content: '<div style="margin-top: 10px;margin-left: 5%; width: 90%;height: 40px;line-height:40px;">版本：</div><div style="margin-top: 10px; margin-left: 5%; width: 90%;height: 40px;line-height:40px;background-color:#F5F5F5;">当前版本：V1.0</div><div style="margin-top: 20px; margin-left: 5%; width: 90%;height: 40px;line-height:40px;">更新信息：</div><div style="margin-top: 10px; margin-left: 5%; width: 90%;height: 40px;line-height:40px;background-color:#F5F5F5;">V1.0：实现基本功能</div>'
            , area: ['40%', '50%']
            , offset: 'auto' //右上角
            , shadeClose: true
            , time: 5000
            , anim: rand
          });
        }

      });

    });
  </script>

  <script>
    layui.use('form', function () {
      var form = layui.form;
      //监听搜索
      form.on('submit(submit-form)', function (data) {
        var field = data.field;
        //执行操作
        return false;
      });
    });
  </script>
</body>

</html>